<template>
  <div>
    跳转页111
  </div>
</template>
<script>
export default {
  onload(){
    wx.navigateToMiniProgram({
      appId: '',
      path: 'page/index/index?id=123',
      extraData: {
        foo: 'bar'
      },
      envVersion: 'develop',//开发版
      success(res) {
        // 打开成功
      }
    })
  }
}
</script>